﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SimpleArchivesView.aspx.cs"
    Inherits="TrafficArchives.Archives.SimpleArchivesView" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
    <link href="../css/GamerGridView.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        /*选项卡样式开始*/
        OL LI
        {
            margin: 8px;
        }
        #con
        {
            font-size: 12px;
            width: 100%;
            margin-top: 0px;
            margin-right: auto;
            margin-bottom: 0px;
            margin-left: auto;
        }
        #tags
        {
            width: 700px;
            height: 23px;
            padding: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            margin-left: 10px;
        }
        #tags LI
        {
            background: url(../images/tagleft.gif) no-repeat left bottom;
            float: left;
            margin-right: 1px;
            list-style-type: none;
            height: 23px;
        }
        #tags LI A
        {
            padding-right: 10px;
            padding-left: 10px;
            background: url(../images/tagright.gif) no-repeat right bottom;
            float: left;
            padding-bottom: 0px;
            color: #0000CC;
            line-height: 23px;
            padding-top: 0px;
            height: 23px;
            text-decoration: none;
        }
        #tags LI.emptyTag
        {
            background: none transparent scroll repeat 0% 0%;
            width: 4px;
        }
        #tags LI.selectTag
        {
            background-position: left top;
            margin-bottom: -2px;
            position: relative;
            height: 25px;
        }
        #tags LI.selectTag A
        {
            background-position: right top;
            color: #000;
            line-height: 25px;
            height: 25px;
        }
        #tagContent
        {
            padding-right: 0px;
            padding-left: 0px;
            padding-bottom: 1px;
            padding-top: 1px;
            background-color: #fff;
            border-top-width: 1px;
            border-right-width: 1px;
            border-bottom-width: 0px;
            border-left-width: 1px;
            border-top-style: solid;
            border-right-style: none;
            border-bottom-style: none;
            border-left-style: none;
            border-top-color: #aecbd4;
            border-right-color: #aecbd4;
            border-bottom-color: #aecbd4;
            border-left-color: #aecbd4;
        }
        .tagContent
        {
            display: none;
            background: url(../images/bg.gif) repeat-x;
            width: 100%;
            color: #474747;
            height: 320px;
            padding: 10px;
        }
        #tagContent DIV.selectTag
        {
            display: block;
        }
        /*选项卡样式结束*/
        #sy a
        {
            background-image: url(../images/bt_title2.gif);
            width: 45px;
            display: block;
            background-repeat: no-repeat;
            text-indent: 20px;
            font-family: "宋体";
            font-size: 12px;
            color: #333333;
            text-decoration: none;
            height: 17px;
            line-height: 17px;
        }
    </style>
    <script language="javascript">

　　        function openwin() {
            window.open("../Reports/CompositeReport.aspx", "newwindow", "width=1000, toolbar =no, menubar=no, scrollbars=2, resizable=no, location=no, status=no") //写成一行
        } 
　　
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table width="98%" height="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"
        style="font-size: 12px;">
        <tr bgcolor="">
            <td valign="top" bgcolor="#FFFFFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr style="background: url(../images/bt_bg.gif)">
                        <td width="14">
                            <img src="../images/bt_left.gif" width="12" height="28">
                        </td>
                        <td width="29" align="center">
                            <img src="../images/bt_title.gif">
                        </td>
                        <td width="896" style="font-size: 12px;">
                            <span class="style3">您当前的位置：</span>信誉档案查询
                        </td>
                        <td width="51" id="sy">
                            <a href="content.html">首页</a>
                        </td>
                        <td width="12">
                            <img src="../images/bt_right.gif" width="12" height="28">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td valign="top">
                <!--查询begin-->
                <table width="95%" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
                    <tr bgcolor="#FFFFFF">
                        <td width="100" height="30" align="right" bgcolor="#E4F1FD">
                            <span class="style4">身份证号：</span>
                        </td>
                        <td>
                            <asp:TextBox ID="TxtIdentityNo" runat="server" Width="150"></asp:TextBox>
                        </td>
                        <td width="100" align="right" bgcolor="#E4F1FD">
                            <span class="style4">档案编号：</span>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="TxtArchivesNo" runat="server" Width="150"></asp:TextBox>
                        </td>
                        <td align="center">
                            <div style="float: left;">
                                <asp:Button ID="BtnQuery" OnClick="BtnQueryClicked" Text="查询" runat="server" CssClass="button" />
                            </div>
                            <div style="float: left; margin-left: -10px; margin-top: 5px; width: 194px; position: absolute;
                                top: 80px; left: 728px;">
                                <asp:Label ID="TxtWebServiceMsg" Text="查询远程服务出错，请联系管理员。" Visible="False" Font-Size="12px"
                                    ForeColor="Red" runat="server"></asp:Label>
                            </div>
                            <div style="float: left; margin-left: 10px;">
                                <input type="submit" value="查看信誉报告" class="buttonLong" onclick="openwin()" />
                            </div>
                        </td>
                        <td align="left">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td height="10">
            </td>
        </tr>
        <tr bgcolor="#FFFFFF">
            <td valign="top">
                <div id="con">
                    <ul id="tags">
                        <li class="selectTag"><a onclick="selectTag('tagContent0',this)" href="javascript:void(0)">
                            基本信息</a> </li>
                        <li><a onclick="selectTag('tagContent1',this)" href="javascript:void(0)">交通违法情况 </a>
                        </li>
                        <li><a onclick="selectTag('tagContent2',this)" href="javascript:void(0)">交通事故情况 </a>
                        </li>
                        <li><a onclick="selectTag('tagContent3',this)" href="javascript:void(0)">满分学习情况 </a>
                        </li>
                        <li><a onclick="selectTag('tagContent4',this)" href="javascript:void(0)">未按时办理业务情况 </a>
                        </li>
                        <li><a onclick="selectTag('tagContent5',this)" href="javascript:void(0)">满12分未按时参加教育记录
                        </a></li>
                        <li><a onclick="selectTag('tagContent6',this)" href="javascript:void(0)">其他 </a>
                        </li>
                    </ul>
                    <div id="tagContent">
                        <!--第一个内容标签页-->
                        <div class="tagContent selectTag" id="tagContent0">
                            <table width="95%" align="center" border="0" cellpadding="0" cellspacing="1" bgcolor="#66a9ec"
                                style="font-size: 12px;">
                                <tr style="background: url(../images/contentbg2.gif)">
                                    <td width="20%" height="25" colspan="4" align="center" style="font-size: 14px; font-weight: bold;
                                        background-color: #dcebff;">
                                        驾驶人信息
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="20%" height="25" align="right">
                                        姓名：
                                    </td>
                                    <td width="30%">
                                        <asp:Label ID="LblName" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td width="20%" align="right">
                                        性别：
                                    </td>
                                    <td width="30%">
                                        <asp:Label ID="LblSex" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="20%" height="25" align="right">
                                        身份证号：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblIdentityNo" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td align="right">
                                        出生年月：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblBorthDay" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="20%" height="25" align="right">
                                        档案编号：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblArchiveNo" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td align="right">
                                        准驾车型：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblCarType" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td width="20%" height="25" align="right">
                                        初次领证日期：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblFirstLicensing" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td align="right">
                                        驾驶证状态：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblDriverCardStatus" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td height="25" align="right">
                                        累积记分：
                                    </td>
                                    <td>
                                        10
                                    </td>
                                    <td align="right">
                                        发证机关：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblLicensingOrgan" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                                <tr bgcolor="#FFFFFF">
                                    <td height="25" align="right">
                                        行政区划：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblAdminDivider" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td height="25" align="right">
                                        管理部门：
                                    </td>
                                    <td>
                                        <asp:Label ID="LblManageOrgan" runat="server" Text=""></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <!--第二个内容标签页-->
                        <div class="tagContent" id="tagContent1">
                            <asp:GridView ID="GridView01" runat="server" Width="95%" AllowPaging="False" AllowSorting="True"
                                AutoGenerateColumns="False" CssClass="GridViewStyle" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="违法时间" DataField="" />
                                    <asp:BoundField HeaderText="违法地点" DataField="" />
                                    <asp:BoundField HeaderText="违法行为" DataField="" />
                                    <asp:BoundField HeaderText="记分" DataField="" />
                                    <asp:BoundField HeaderText="罚款金额" DataField="" />
                                    <asp:BoundField HeaderText="处罚种类" DataField="" />
                                    <asp:BoundField HeaderText="处理标记" DataField="" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                        </div>
                        <!--第三个内容标签页-->
                        <div class="tagContent" id="tagContent2">
                            <asp:GridView ID="GridView02" runat="server" Width="95%" AllowPaging="False" AllowSorting="True"
                                AutoGenerateColumns="False" CssClass="GridViewStyle" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="事故时间" DataField="" />
                                    <asp:BoundField HeaderText="事故地点" DataField="" />
                                    <asp:BoundField HeaderText="事故类型" DataField="" />
                                    <asp:BoundField HeaderText="死伤人数" DataField="" />
                                    <asp:BoundField HeaderText="事故责任" DataField="" />
                                    <asp:BoundField HeaderText="直接财产损失" DataField="" />
                                    <asp:BoundField HeaderText="主要违法行为" DataField="" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                        </div>
                        <!--第四个内容标签页-->
                        <div class="tagContent" id="tagContent3">
                            <asp:GridView ID="GridView03" runat="server" Width="95%" AllowPaging="False" AllowSorting="True"
                                AutoGenerateColumns="False" CssClass="GridViewStyle" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="满分日期" DataField="" />
                                    <asp:BoundField HeaderText="记分年度" DataField="" />
                                    <asp:BoundField HeaderText="事故类型" DataField="" />
                                    <asp:BoundField HeaderText="满分分值" DataField="" />
                                    <asp:BoundField HeaderText="未满分分值" DataField="" />
                                    <asp:BoundField HeaderText="处理机关" DataField="" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                        </div>
                        <!--第五个内容标签页-->
                        <div class="tagContent" id="tagContent4">
                            <asp:GridView ID="GridView04" runat="server" Width="95%" AllowPaging="False" AllowSorting="True"
                                AutoGenerateColumns="False" CssClass="GridViewStyle" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="业务类型" DataField="" />
                                    <asp:BoundField HeaderText="正常办理日期" DataField="" />
                                    <asp:BoundField HeaderText="实际办理日期" DataField="" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                        </div>
                        <!--第六个内容标签页-->
                        <div class="tagContent" id="tagContent5">
                            <asp:GridView ID="GridView05" runat="server" Width="95%" AllowPaging="False" AllowSorting="True"
                                AutoGenerateColumns="False" CssClass="GridViewStyle" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="业务类型" DataField="" />
                                    <asp:BoundField HeaderText="正常参加教育日期" DataField="" />
                                    <asp:BoundField HeaderText="实际参加教育日期" DataField="" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                        </div>
                        <!--第七个内容标签页-->
                        <div class="tagContent" id="tagContent6">
                            <asp:GridView ID="GridView06" runat="server" Width="95%" AllowPaging="False" AllowSorting="True"
                                AutoGenerateColumns="False" CssClass="GridViewStyle" GridLines="None">
                                <Columns>
                                    <asp:BoundField HeaderText="业务类型" DataField="" />
                                    <asp:BoundField HeaderText="记录时间" DataField="" />
                                    <asp:BoundField HeaderText="内容" DataField="" />
                                </Columns>
                                <FooterStyle CssClass="FooterStyle" />
                                <RowStyle CssClass="RowStyle" />
                                <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                <SelectedRowStyle CssClass="SelectedRowStyle" />
                                <HeaderStyle CssClass="HeaderStyle" />
                                <EditRowStyle CssClass="EditRowStyle" />
                                <AlternatingRowStyle CssClass="AltRowStyle" />
                            </asp:GridView>
                        </div>
                    </div>
                </div>
                <!--查询over-->
            </td>
        </tr>
    </table>
    <p>
        <script type="text/javascript">
            function selectTag(showContent, selfObj) {
                // 操作标签
                var tag = document.getElementById("tags").getElementsByTagName("li");
                var taglength = tag.length;
                for (i = 0; i < taglength; i++) {
                    tag[i].className = "";
                }
                selfObj.parentNode.className = "selectTag";
                // 操作内容
                for (i = 0; j = document.getElementById("tagContent" + i); i++) {
                    j.style.display = "none";
                }
                document.getElementById(showContent).style.display = "block";


            }
        </script>
    </p>
    </form>
</body>
</html>
